﻿var index = require('./run/index/main'),
	contact = require('./run/contact/main'),
	companyProfile = require('./run/companyProfile/main'),
	cooperativePartner = require('./run/cooperativePartner/main'),
	news = require('./run/news/main'),
	productService = require('./run/productService/main');

module.exports = function(app) {

	app.get("/", index.empty);

	app.get("/index", index.render);

	app.get("/companyProfile", companyProfile.render);

	app.get("/cooperativePartner", cooperativePartner.render);

	app.get("/news", news.render);
	app.get("/news/:page", news.render);
	app.get("/newsDetail/:id", news.renderDetail);

	app.get("/contact", contact.render);

	app.get("/productService", productService.render);
};